package com.gage.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.gage.model.CmsArticle;

public interface CmsArticleMapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(CmsArticle record);

    CmsArticle selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CmsArticle record);
    List<Map<String, Object>> selectArticleByStr(Pagination page, Map<String, Object> params);
	int selectArticleByStrCount();
	Integer deleteByIds(@Param("ids") List<String> ids);

}